﻿namespace Repositories.DM;

/// <summary>
/// 系统配置
/// </summary>
[SugarTable("s_systemconfig")]
public class SystemConfig
{
    /// <summary>
    /// 主键
    /// </summary>
    [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
    public int Id { get; set; }

    /// <summary>
    /// 编码
    /// </summary>
    [SugarColumn(ColumnName = "key")]
    public string Key { get; set; }

    /// <summary>
    /// 值
    /// </summary>
    [SugarColumn(ColumnName = "value")]
    public string Value { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnName = "remark")]
    public string? Remark { get; set; }
}
